<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test12</title>
</head>
<body>
    <script type="text/javascript">
        var name = prompt("请输入名字");
        var age = prompt("请输入年龄");
        var home = prompt("请输入地址");
        alert("我是"+name+"，今年"+age+"岁了，我来自"+home);
    </script>
</body>
</html>